import base64


def b64encode(txt: str):
    return base64.b64encode(txt.encode())


def b64decode(txt: str):
    return base64.b64decode(txt)

